<%-- 
    Document   : activityList
    Created on : 2008-12-14, 16:29:59
    Author     : HX
--%>

<%@ page language="java" import=" myUtils.Constants,myUtils.page.*,java.util.*,po.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:include value="/layout/header.jsp" />
<SCRIPT language="javascript" src="js/page-navigater.js"></SCRIPT>
<!-- B.1 MAIN CONTENT -->

<div class="main-content">
    <!-- Content unit - One column -->
  <h1 class="pagetitle">用户活动列表</h1>

<div class="column1-unit">

<h1 class="block">用户最近活动列表</h1>
         <table>
            <tr><th class="top" scope="col">名称</th>
            <th class="top" scope="col">开始时间</th>
            <th class="top" scope="col">所属组织</th>
			<th class="top" scope="col">地址</th>
			<th class="top" scope="col">描述</th>
			</tr>
            <s:if test="futureActivities">
                    <s:iterator value="futureActivities">
                        <tr><th scope="row"><a href="getActivity.action?activityId=<s:property value='id'/>"><s:property value='name'/></a></th><td><s:property value='starttime'/></td>
                         <td><s:property value='organization.name'/></td><td><s:property value='place'/></td>
                <td><s:property value='description'/></td></tr>
                    </s:iterator>
            </s:if>
            <s:else>
                    最近没有任何活动
            </s:else>

          </table>
          
<h1 class="block">用户历史活动列表</h1>
         <table>
            <tr><th class="top" scope="col">名称</th>
            <th class="top" scope="col">时间</th>
            <th class="top" scope="col">所属组织</th>
			<th class="top" scope="col">地址</th>
			<th class="top" scope="col">描述</th>
			</tr>
            <s:if test="hisoryActivities">
                    <s:iterator value="hisoryActivities">
                        <tr><th scope="row"><a href="getActivity.action?activityId=<s:property value='id'/>"><s:property value='name'/></a></th><td><s:property value='starttime'/></td>
                         <td><s:property value='organization.name'/></td><td><s:property value='place'/></td>
                <td><s:property value='description'/></td></tr>
                    </s:iterator>
            </s:if>
            <s:else>
                    最近没有任何活动
            </s:else>

          </table>

        </div>

        <hr class="clear-contentunit" />


</div>

<s:include value="/layout/footer.jsp"/>